// 引入axios封装文件
import request, { mockIP, backendIP } from "@/utils/request";
import { replacePath } from "@/utils/index";

var IP = "";
var mockIPTemp = mockIP;
var backendIPTemp = backendIP;
mockIPTemp = backendIPTemp; //切换全局后台IP地址
// backendIPTemp = mockIPTemp;//切换全局模拟IP地址

//--------------------首页--------------------
export function kanbanGetStockInAndOutRecord(data) {
    IP = true ? mockIPTemp : backendIPTemp;
    return request({
        url: "/kanban/getStockInAndOutRecord",
        method: "post",
        data: data,
    });
}
